package com.caifu.pojo;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author GZ
 * @since 2020-12-10
 */
public class YlPensionStatistic extends Model<YlPensionStatistic> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId("ID")
    private Integer id;

    /**
     * 统计名称
     */
    @TableField("NAME")
    private String name;

    /**
     * 统计数量
     */
    @TableField("TOTAL_COUNT")
    private Integer totalCount;

    /**
     * 统计类型
     */
    @TableField("TYPE")
    private String type;

    /**
     * 排序字段
     */
    @TableField("SORT")
    private Integer sort;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public Integer getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
    }
    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "YlPensionStatistic{" +
        "id=" + id +
        ", name=" + name +
        ", totalCount=" + totalCount +
        ", type=" + type +
        ", sort=" + sort +
        "}";
    }
}
